package com.lnking.lnkingplace.model.dto.rectification;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.lnking.lnkingplace.model.entity.InspectResult;
import com.lnking.starter.mybatis.entity.BaseEntity;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.time.LocalDateTime;
import java.util.ArrayList;
import java.util.List;

/**
 * @program: lnking-place
 * @description:
 * @author: LDQ
 * @create: 2022-09-16 22:48
 **/
@Data
public class RectificationResultDto extends BaseEntity {

    @ApiModelProperty(value = "属于哪个检查方案（没有说明是自检）")
    private String inspectId;

    @ApiModelProperty(value = "场所id")
    private String placeId;

    @JsonFormat(locale = "zh", timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "检查时间")
    private LocalDateTime inspectTime;

    @ApiModelProperty(value = "检查结果")
    private String inspectResult;


    @ApiModelProperty(value = "检查人id")
    private String inspectPersonId;


    @ApiModelProperty(value = "复查场所确认时间")
    private LocalDateTime confirmTime;

    @ApiModelProperty(value = "确认人")
    private String confirmUser;


    @ApiModelProperty(value = "状态")
    private String status;

    @ApiModelProperty(value = "类型")
    private String type;

    List<InspectResult> list =new ArrayList<>();
}
